package com.qingcheng.pojo.order;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * myfavorite实体类
 * @author Administrator
 *
 */
@Table(name="tb_myfavorite")
public class Myfavorite implements Serializable{

	@Id
	private String id;//ID



	private String skuId;//skuId

	private String spuId;//spuId

	private String username;//username

	private Integer categoryId;//第三级分类ID

	private String name;//SKU名称

	private String image;//商品图片

	private Integer weight;//单件重量（克）

	private Integer price;//商品单价（分）

	private String brandName;//品牌名称

	private Integer commentNum;//评论数

	private String status;//商品状态 1-正常，2-下架，3-删除



	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSkuId() {
		return skuId;
	}
	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	public String getSpuId() {
		return spuId;
	}
	public void setSpuId(String spuId) {
		this.spuId = spuId;
	}

	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}

	public Integer getWeight() {
		return weight;
	}
	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public Integer getPrice() {
		return price;
	}
	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getBrandName() {
		return brandName;
	}
	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public Integer getCommentNum() {
		return commentNum;
	}
	public void setCommentNum(Integer commentNum) {
		this.commentNum = commentNum;
	}

	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Override
	public String toString() {
		return "Myfavorite{" +
				"id='" + id + '\'' +
				", skuId='" + skuId + '\'' +
				", spuId='" + spuId + '\'' +
				", username='" + username + '\'' +
				", categoryId=" + categoryId +
				", name='" + name + '\'' +
				", image='" + image + '\'' +
				", weight=" + weight +
				", price=" + price +
				", brandName='" + brandName + '\'' +
				", commentNum=" + commentNum +
				", status='" + status + '\'' +
				'}';
	}
}
